package com.yuelao.yuelao_backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.Map;

/**
 * 用户设置表
 */
@Data
@TableName("user_settings")
public class UserSettings implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 喜欢通知
     */
    private Boolean notificationLike;

    /**
     * 配对通知
     */
    private Boolean notificationMatch;

    /**
     * 消息通知
     */
    private Boolean notificationMessage;

    /**
     * 评论通知
     */
    private Boolean notificationComment;

    /**
     * 系统通知
     */
    private Boolean notificationSystem;

    /**
     * 显示年龄
     */
    private Boolean privacyShowAge;

    /**
     * 显示位置
     */
    private Boolean privacyShowLocation;

    /**
     * 显示在线状态
     */
    private Boolean privacyShowOnline;

    /**
     * 允许访客
     */
    private Boolean privacyAllowVisitor;

    /**
     * 允许陌生人消息
     */
    private Boolean privacyAllowStrangerMessage;

    /**
     * 创建时间
     */
    private LocalDateTime createdAt;

    /**
     * 更新时间
     */
    private LocalDateTime updatedAt;
    
    
}

